<?php

class Report extends BaseObject{
	
	private $idUtilisateur;
	private $idStatut;
	private $useCase;
	private $libelle;
	private $code;
	private $systemMessage;
	private $userAction;
	private $description;
	private $creationDate;
	private $reponseOfficielle;
	
	
	/**
	 * @ManyToOne
     * @JoinColumn(name="idStatut",className="Statut",nullable=true)
	 */
	private $statut;
	
	/**
	 * @OneToMany(mappedBy="report",className="Message")
	 */
	private $message;
	
	
	public function __construct($id="",$idStatut="",$idUtilisateur="",$code="",$libelle="",$description="",$creationDate="",$userAction="",$systemMessage="",$reponseOfficielle=""){
		if($id=="")
		{
			parent::__construct($id="");
		}
		else
		{
			parent::__construct($id);
		}
		$this->idStatut= $idStatut;
		$this->idUtilisateur=$idUtilisateur;
		$this->code=$code;
		$this->libelle=$libelle;
		$this->description= $description;
		$this->creationDate=$creationDate;
		$this->userAction=$userAction;
		$this->systemMessage=$systemMessage;
		$this->reponseOfficielle=$reponseOfficielle;
	}
		
	public function setValues($systemMessage,$userAction,$description){
		$this->systemMessage=$systemMessage;
		$this->userAction=$userAction;
		$this->description=$description;
	}
	
	public function getIdUtilisateur() {
		return $this->idUtilisateur;
	}
	
	public function setIdUtilisateur($idUtilisateur) {
		$this->idUtilisateur = $idUtilisateur;
		return $this;
	}
	
	public function getUseCase() {
		return $this->useCase;
	}
	
	public function setUseCase($useCase) {
		$this->useCase = $useCase;
		return $this;
	}
	
	public function getLibelle() {
		return $this->libelle;
	}
	
	public function setLibelle($libelle) {
		$this->libelle = $libelle;
		return $this;
	}

	public function getCode() {
		return $this->code;
	}
	
	public function setCode($code) {
		$this->code = $code;
		return $this;
	}
	
	public function getSystemMessage() {
		return $this->systemMessage;
	}
	
	public function setSystemMessage($systemMessage) {
		$this->systemMessage = $systemMessage;
		return $this;
	}
	
	public function getUserAction() {
		return $this->userAction;
	}
	
	public function setUserAction($userAction) {
		$this->userAction = $userAction;
		return $this;
	}
	
	public function getDescription() {
		return $this->description;
	}
	
	public function setDescription($description) {
		$this->description = $description;
		return $this;
	}
	
	public function getCreationDate() {
		return $this->creationDate;
	}
	
	public function setCreationDate($creationDate) {
		$this->creationDate = $creationDate;
		return $this;
	}
	
	public function getReponseOfficielle() {
		return $this->reponseOfficielle;
	}
	
	public function setReponseOfficielle($reponseOfficielle) {
		$this->reponseOfficielle = $reponseOfficielle;
		return $this;
	}
	
	public function getStatut() {
		return $this->statut;
	}
	
	public function setStatut($statut) {
		$this->statut = $statut;
		return $this;
	}

	public function getIdStatut() {
		return $this->idStatut;
	}
	
	public function setIdStatut($idStatut) {
		$this->idStatut = $idStatut;
		return $this;
	}
	
	
}